Repository navigation
Pin CI PHP images to the 2026-11-19 security releases - #169
Conversation
Bump the immutable official PHP image indexes used by the containerized CI test, PHAR, reproducible-build and Rust source-reference profiles to PHP 8.2.36, 8.4.28 and 8.5.13 (bookworm), require the exact 8.4.28 runtime in the PHAR and source-reference probes, and move the Rust release workflow's legacy 2.3.5 PHAR upgrade check onto the 8.4.28 index. The dormant PHP standalone release path stays at 8.4.27. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI blocker, outside this repository:
Modes are unchanged (0644). Because the preflight failed, the containerized PHP 8.2/8.4/8.5, PHAR and reproducible-build cells were skipped. |
|



What changed
Pins the CI and test-tooling PHP containers to the PHP security releases of 2026-11-19 (PHP 8 ChangeLog).
scripts/ci/php-container-images.json: the immutable official image indexes for the containerized test matrix, plus the PHAR, reproducible-build and Rust source-reference profiles:php:8.2.36-cli-bookworm@sha256:0a5ed0098915c11e1db8729b81bdb9a1bf12a998cc5e5b2f9a640afb6104dbe1(was 8.2.35ce09ca1d…)php:8.4.28-cli-bookworm@sha256:85da896b3eeb8bcd83fe612e51a529b7d5983a1fab92ef5f63c7ac6e2842fc46(was 8.4.27b3e907a1…)php:8.5.13-cli-bookworm@sha256:d6991172c4282d2a09d6418073923a81664173bb0a0e07a16663a9a645746092(was 8.5.12050713ce…)scripts/ci/probe-php-phar-runtime.phpandscripts/ci/probe-php-reference-runtime.php: the exact-runtime gate now requires8.4.28..github/workflows/release-rust.ymlupgrade-from-2x:LEGACY_PHP_IMAGEmoves to the 8.4.28 index. This image is only the interpreter that runs the published 2.3.5dw.pharin the upgrade check. The frozen artifact is that PHAR, and the job still verifies it byLEGACY_PHAR_SHA256, so the PHP runtime is test tooling and does not need to stay frozen. The new index includes native linux/amd64 and linux/arm64 manifests, as the job requires.No hash or provenance record in this repository covers these pins. No test asserts the literal digests, and
docker/php-ci/README.mdnames no versions. The central APT guard (require-fixed-bookworm-apt.shat18783be6) is checked at build time, not tied to the image, and all three new images pass it.Tests (lab4, capped Docker containers, repo mounted read-only)
PHP_VERSIONis 8.2.36, 8.4.28 or 8.5.13, and the pinned centralrequire-fixed-bookworm-apt.sh(sha256 verified) reportsfixed_bookworm_apt=true, apt/libapt-pkg6.0 2.6.2.probe-php-phar-runtime.phpandprobe-php-reference-runtime.phpon the 8.4.28 image withphar.iniorreference.inimounted: the exact-version and profile gate passes. Both probes then stop inprobe-php-test-runtime.php, as expected for the stock image, because pcntl is added only by the CI Dockerfile. The full built-image probe runs in this PR's CI.test-release-cache-policy.py8 OK,test-release-rust-workflow.py51 OK,test-apt-no-retries.py2 OK,test-build-workflow.py4 OK,test-php-container-launcher.py6 OK,test_php_phar_container.py5 OK (1 skipped),test_php_reference_container.py5 OK (1 skipped),test_php_repro_container.py7 OK (2 skipped). The skips need a built CI image.--test:test-standalone-runtime.js10/10,test-release-workflow-metadata.js43/43,test-standalone-dependencies.js8/8,test-cli-release-channel.js9/9,test-cli-upgrade-result.js5/5.Deliberately unchanged
release.yml(PHP_VERSION,PHP_VERSION_WINDOWS),scripts/ci/verify-standalone-runtime.js(MINIMUM_PHP_VERSION),test-standalone-runtime.jsand theReleaseInstallerContractTestassertions aboutrelease.yml. The shipped CLI is now Rust (2.11.0). The PHP standalone line last shipped at 2.3.9, and those release jobs are skipped. Any future PHP standalone release would first need a static-php-cli qualification at a patched PHP version.Test (PHP 8.3)) uses the centralsetup-php-linuxaction at a pinned commit with a minor-onlyphp-version: '8.3'selector. That pin is owned centrally, not in this repository.durable-workflow/.githubinventory recorddocker/apt/php-8.4.27-cli-bookworm.v1.jsondescribes the old 8.4.27 parent. It is source inventory in another repository and is not consumed by this build.🤖 Generated with Claude Code